/**
 * Copyright (c) 2005-2012 https://github.com/zhangkaitao
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package com.kaoshi.jeeweb.common.entity;

import javax.persistence.Id;

/**
 * <p> 抽象实体基类，提供统一的ID，和相关的基本功能方法
 * <p>User: Zhang Kaitao
 * <p>Date: 13-1-12 下午4:05
 * <p>Version: 1.0
 */
public abstract class BaseEntity<ID> extends AbstractEntity<ID>  {

	@Id
    private ID id;

    @Override
    public ID getId() {
        return id;
    }
    
    @Override
    public void setId(ID id) {
        this.id = id;
    }
}
